Release 12-30-2025 #2
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request refactors and simplifies the configuration and documentation for the code execution and visualization features in the data agent project. The main change is the removal of the explicit
code_interpreterconfiguration from YAML and schema files, making visualization always enabled and controlled solely by environment variables. Documentation is updated accordingly, and related code and schema are cleaned up. Additional improvements include a new script for generating diagrams and a new dependency for table formatting.Configuration and Feature Simplification:
Removed the
code_interpretersection from agent YAML configuration, making visualization always enabled and executor selection automatic based on theAZURE_SESSIONS_POOL_ENDPOINTenvironment variable. (docs/CONFIGURATION.md,docs/VISUALIZATION.md,src/data_agent/config.py,src/data_agent/config_loader.py,src/data_agent/config/amex.yaml,src/data_agent/config/schema/agent_config.schema.json) [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]Introduced
VisualizationSettingsinconfig.pyto encapsulate visualization-related environment configuration, replacing the previousCodeInterpreterConfigdataclass. (src/data_agent/config.py)Documentation and Usability Improvements:
Updated documentation to clarify that visualization is always enabled, executor selection is automatic, and no YAML configuration is required. The Azure setup guide is now more concise and refers to the official tutorial. (
docs/CONFIGURATION.md,docs/VISUALIZATION.md,README.md) [1] [2] [3] [4] [5] [6] [7] [8] [9]Replaced the ASCII diagram in the visualization documentation with a Mermaid sequence diagram for improved clarity. (
docs/VISUALIZATION.md)Developer Experience and Tooling:
Added a script (
scripts/generate_diagrams.py) to generate flow diagrams for documentation using LangGraph visualization. (scripts/generate_diagrams.py)Added the
tabulatelibrary as a dependency for improved table formatting. (pyproject.toml)Codebase Cleanup:
src/data_agent/executors/__init__.py)These changes streamline the setup and usage of the visualization feature, reduce configuration complexity, and improve the clarity and maintainability of both the codebase and documentation.